<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="Sofabulous.css" />
<script type='text/javascript' src='http://code.jquery.com/jquery-1.6.4.js'></script>
<script type='text/javascript' src='/GoGoGadget/ReviewFunctions.js'></script>
<title>My Subscriptions</title>
</head>
<body onload="getSubscriptions()">
	<div id = "welcome">
		Go Go Gadget Business!
	</div>
	
	<div id = "nav">
	<ul>
		<li><a href="StartPage.jsp">Home</a></li>
		<li><a href="BusinessList.jsp">Businesses</a></li>
		<li><a href="Business.jsp">Your Business</a></li>
		<li><span>Subscribers</span></li>
	</ul>
	</div>
	<div id = "main">
		<div id = "subnav">
		</div>
	</div>
		<label>Username:</label>
		<p id = subUserName></p>
		<label>Email:</label><p id = subEmail></p>
		<p><input name="editSubEmail" type="text" id="editSubEmail" size="30"></p>
		<label>Old Password:</label><input name="subPass" type="text" id="subPass" size="30"></p>
		<label>New Password:</label><input name="editSubPass" type="text" id="editSubPass" size="30"></p>
		<button onclick = 'editSub()'>Edit Account</button>
		<u>Your Subscriptions</u>
		<button onclick = 'subLogout()'>Logout</button>
		<button onclick = 'removeSubUser()'>Delete Account</button>
		<div id = "talk"></div>
		<tr>  
		<td><button onclick = "removeSubscription()">Unsubscribe:</button></td><td><input name="deletSub" type="text" id="deletSub" size="30"></td>  
		</tr>  
		<p></p>
		<table id = login>  
		<tr>  
		<td><label for="username">Username :</label></td><td><input name="username" type="text" id="username" size="30"></td>  
		</tr>  
		<tr>  
		<td><label for="password">Password :</label></td><td><input name="password" type="password" id="password" size="30"></td>  
		</tr>
		<tr>  
		<td><label for="email">Email :</label></td><td><input name="email" type="text" id="email" size="30"></td> 
		</tr>    
		<tr>  
		<td class="submit"></td><td><button onclick = "subLogin()">Submit</button></td>  
		</tr>  
		</table>  
		<a href="CreateReviewer.jsp">Create and New Reviewer/Subscriber Account</a>
</body>
</html>